package com.tedu.day04mybatis.mapper;

import com.tedu.day04mybatis.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("INSERT INTO userinfo (username,password,nickname,age,created) VALUES (#{username},#{password},#{nickname},#{age},#{created})")
    int insert(User user);
}
